package com.easyfile.easyfilemaster.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.easyfile.easyfilemaster.entity.UserDetail;

/**
 * 用户表操作接口
 * @author chenpeman
 */
public interface UserMapper extends BaseMapper<UserDetail> {
    /**
     * 通过手机号获取id
     *
     * @param mobile the mobile
     * @return the id by mobile
     */
    Long getIdByMobile(String mobile);
}
